<?php

$elem = $this->element;

$elemName = $elem->getName();

$value = $elem->getValue();

$label = $elem->getLabel();

$errors = $elem->getMessages();
?>

<div class="wrap-search-form"> 
    <div class="search-icon"></div>
    <input type="search" name="<?php echo $elemName; ?>" class="search" id="<?php echo $elemName; ?>" placeholder="поиск по сайту..." value="<?php echo $value; ?>"/>
    <input type="submit" class="submit-btn" value="Найти"/>
    
      <div class="notice">
        <div class="rect"></div>
        <p>например: <span>звездные войны</span></p>
      </div>    
    
    <div class="clearfix"></div>
    <?php if($errors): ?>
        <ul>
        <?php foreach($errors as $error): ?>
            <li><?php echo $error; ?></li>
        <?php endforeach ?>
        </ul>
    <?php endif; ?>

</div>